package controllers

import (
	"github.com/astaxie/beego"
)

type LogoutController struct {
	beego.Controller
}

func (c *LogoutController) Get() {
	c.SetSession("user", nil)
	c.Ctx.Redirect(302, "/login")
}
